﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MLevel.API.Samples.SharePointWebPart.Models
{
    public class GroupLeaderboardModel
    {
        private List<GroupData> groupsData;

        public string ID { get; set; }

        public string Name { get; set; }

        public int TotalGroups { get; set; }

        public int GroupsDisplayed { get; set; }

        public int MaxScore { get; set; }

        public string GroupID { get; set; }

        public string GroupName { get; set; }

        public List<GroupData> GroupsData
        {
            get
            {
                return this.groupsData ?? (this.groupsData = new List<GroupData>());
            }
            set
            {
                this.groupsData = value;
            }
        }
    }
}
